/**
 * main stylesheet file
 *
 * @author Zhang Jinlong <466028373@qq.com>
 * @link http://www.ijianzhi.cn
 * @copyright Copyright &copy; 2013 DianJin Soft
 */

/* Header start */
#header {
    width: 100%;
    background: #3E4141;
}

#site-top {
    margin: 0 auto;
    width: 960px;
    height: 104px;
}

#site-top h1 {
    margin: 28px 0 0 0;
}

#site-top h1 a {
    display: block;
    width: 211px;
    height: 53px;
    text-indent: -1000em;
    background: url('../img/logo.png') no-repeat;
}

#site-info {
    margin: 0;
    text-align: right;
}

#site-info li {
    display: inline-block;
    *display: inline;
    *zoom: 1;
    padding: 3px 8px;
    list-style: none;
}

#site-info li i {
    display: inline-block;
    margin-top: 1px;
}

#site-info li a {
    display: inline-block;
    margin: 0 0 0 6px;
    color: white;
    font-size: 12px;
    color: #ccc;
}

#site-search {
    position: relative;
    margin: 16px 0 0 300px;
    height: 34px;
    background: transparent url('../img/sp-hd.png') no-repeat top left;
}

#site-search > input {
    position: absolute;
    top: 0;
    left: 0;
    margin: 1px;
    padding: 6px 7px;
    width: 372px;
    height: 20px;
    font-size: 14px;
    border: 0;
    background: transparent;
}

#site-search > button {
    position: absolute;
    top: 0;
    left: 388px;
    width: 84px;
    height: 32px;
    font-size: 14px;
    font-weight: bold;
    color: white;
    line-height: 1.5;
    border: 0;
    background: transparent;
}

#site-nav {
    width: 100%;
    background: #00999C;
}

#site-nav-warpper {
    margin: 0 auto;
    width: 960px;
}

#site-nav-warpper > ul {
    margin: 0;
}

#site-nav-warpper > ul.nav > li {
    float: left;
    list-style: none;
}

#site-nav-warpper > ul.nav > li > a {
    display: inline-block;
    margin-left: -1px;
    padding: 8px 16px;
    color: white;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
}

#site-nav-warpper > ul.nav > li.current > a,
#site-nav-warpper > ul.nav > li.current > a:hover,
#site-nav-warpper > ul.nav > li > a:hover {
    padding: 8px 15px;
    border-left: 1px solid #0FB1B7;
    border-right: 1px solid #0FB1B7;
    background: #147B81;
}

#site-nav-warpper > ul.nav > li > a:hover {
    background: #178E95;
    text-decoration: none;
}

#site-nav-warpper > ul.user-info > li {
    display: block;
    float: left;
    list-style: none;
}

#site-nav-warpper > ul.user-info > li.user-info-name > a {
    color: #333;
}

#site-nav-warpper > ul.user-info > li.user-info-name > a:hover {
    background: transparent;
}

#site-nav-warpper > ul.user-info > li > a {
    display: inline-block;;
    padding: 8px 14px 10px;
    height: 18px;
    font-size: 12px;
    color: white;
    border-left: 1px solid #2FA5A9;
    border-right: 1px solid #038E93;
}

#site-nav-warpper > ul.user-info > li:first-child > a {
    border-left: 0;
}

#site-nav-warpper > ul.user-info > li > a:hover {
    text-decoration: none;
    background-color: #178E95;
}

#site-nav-warpper #login-link {
    padding-left: 31px;
    background-image: url('http://qzonestyle.gtimg.cn/qzone/vas/opensns/res/img/Connect_logo_1.png');
    background-repeat: no-repeat;
    background-position: 12px center;
}
/* Header end */


/* Main start */
#main {
    margin: 10px auto;
    width: 960px;
}
/* Main end */


/* Form error start */
label.error {
    color: #A52435;
}

input.error, select.error,
textarea.error {
    border: 1px solid #A52435;
}

.errorMessage {
    display: none;
    margin-bottom: 16px;
    color: #A52435;
}

.errorSummary {
    margin-bottom: 20px !important;
    padding: 8px 35px 8px 14px;
    color: #B94A48;
    background: #F2DEDE;
    border: 1px solid #EED3D7;
    border-radius: 4px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}
/* Form error end */